package com.ruge.spring.cloud.gateway.dao;

import feign.codec.Encoder;
import feign.form.spring.SpringFormEncoder;
import org.springframework.context.annotation.Bean;

/**
 * @author 嘿丷如歌
 * @version V1.0
 * @Description: 用于添加feign对form参数的支持
 * @date 2021/4/26 21:49
 */
public class FormSupportConfig {
    @Bean
    public Encoder feignFormEncoder() {
        return new SpringFormEncoder();
    }

}
